package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


/**
 * 告警指标编码表-实体
 * @author zfsn
 * @date 2023-6-1
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "告警指标编码表", description = "")
@TableName("conf_alarm_indicator_code")
public class ConfAlarmIndicatorCode extends Model<ConfAlarmIndicatorCode> {

	/**
	 *
	 */
	@ApiModelProperty(value = "id", notes = "")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "指标编码", notes = "")
	@TableId(type = IdType.AUTO)
	private String code;

	/**
	 *
	 */
	@ApiModelProperty(value = "编码名称或说明", notes = "")
	private String name;

	/**
	 * 1为基础告警指标，2为统计告警指标
	 */
	@ApiModelProperty(value = "指标类型", notes = "1为基础告警指标，2为统计告警指标")
	private Integer indicatorType;

	/**
	 * 1代表数字类型，2代表字符类型
	 */
	@ApiModelProperty(value = "编码类型", notes = "1代表数字类型，2代表字符类型")
	private Integer codeType;

	/**
	 * 1为系统，2为业务，3为网端
	 */
	@ApiModelProperty(value = "指标对象值:来自字典表", notes = "1为系统，2为业务，3为网端")
	private Integer objValue;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建人", notes = "")
	private String createBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建时间", notes = "")
	private LocalDateTime createTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新人", notes = "")
	private String updateBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新时间", notes = "")
	private LocalDateTime updateTime;

	/**
	 * 是否逻辑删除，0：否、1：是
	 */
	@ApiModelProperty(value = "是否逻辑删除", notes = "是否逻辑删除，0：否、1：是")
	private Integer isDel;

	/**
	 *
	 */
	@ApiModelProperty(value = "备注", notes = "")
	private String remarks;

}